DOCUMENT:Q102116 19-NOV-1993 [W_NT] TITLE :How to Manually Delete Print Shares or Printers PRODUCT :Windows NT PROD/VER:3.10 OPER/SYS:WINDOWS KEYWORDS: ---------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows NT operating system, version 3.1 - Microsoft Windows NT Advanced Server, version 3.1 ---------------------------------------------------------------------- WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk. If you are troubleshooting Windows NT or applications that are running with Windows NT, you may need to verify that a print share or installed printer has been completely deleted. Th following information shows the default locations in the registry database for references to installed printers or print shares. To remove references to the printer or print share, use the Registry Editor. Note that ALL references must be deleted to insure complete removal of the print share or installed printer. NOTE: Text enclosed in angle brackets (<>) brackets refers to machine-specific names. "\\PrintShare\Printer" refers to the UNC path to the specific printshare. If the printer was installed from Print Manager using the Connect To Printer option, the printer information will be located in the following keys: HKEY_USERS on Local Machine S- \ Printers \Connections PrintShare\Printer Delete the key "\\Printshare\Printer" HKEY_CURRENT_USER on Local Machine Printers \ Connections \\PrintShare\Printer Delete the key "\\Printshare\Printer" HKEY_LOCAL_MACHINE on Local Machine Software \ Microsoft \ Windows NT \ Current Version \ Devices Delete the value "\\Printshare\Printer" : REG_SZ HKEY_LOCAL_MACHINE on Local Machine Software \ Microsoft \ Windows NT \ Current Version PrinterPorts Delete the value "\\Printshare\Printer" : REG_SZ NOTE: You must log off and log back on for the changes to take effect. You may need to restart your computer as well. If the printer was installed from Print Manager using the Create Printer option, the printer information will be located in the following keys: HKEY_CURRENT_USER on Local Machine SOFTWARE \ Microsoft \ Windows NT Current Version \ Print Manager \ Printers Delete the value < Printer Name > : REG_BINARY HKEY_USERS on Local Machine < SID Number > \ SOFTWARE \ Microsoft \ Windows NT Current Version \ Print Manager \ Printers Delete the value < Printer Name > : REG_BINARY HKEY_LOCAL_MACHINE on Local Machine Software \ Microsoft \ Windows NT \ Current Version \ Devices Delete the value < Printer Name > : REG_SZ HKEY_LOCAL_MACHINE on Local Machine Software \ Microsoft \ Windows NT \ Current Version Printer Ports Delete the value < Printer Name > : REG_SZ HKEY_LOCAL_MACHINE on Local Machine SYSTEM \ CurrentControlSet \ Control \ Print \ Printers Delete the key < Printer Name > There may also be references to printers in other ControlSets, such as ControlSet001, but since this may be the Control Set for the Last Known Good Configuration, it should not be modified. NOTE: You must log off and log back on for the changes to take effect. You may need to restart your computer as well. Additional reference words: 3.10 tshoot KBCategory: KBSubcategory: prt ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1993.